package com.tfswx.ocrengine.executor.bean;

import lombok.Data;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/3/8
 */
@Data
public class PrismWordsInfo {
    private Integer prob;
    private List<Pos> pos;
    private Integer paragraphId;
    private String word;
    private List<CharInfo> charInfo;
    private Integer rowId;

    @Data
    public static class Pos {
        private Integer x;
        private Integer y;
    }

    @Data
    public static class CharInfo {
        private Integer prob;
        private Integer w;
        private Integer x;
        private Integer h;
        private Integer y;
        private String word;
    }
}
